import 'package:flutter/material.dart';

const MainBottomBar_ACTIVE_COLOR = Colors.green;
const MainBottomBar_TEXT_COLOR = Colors.black54;
const Main_appbar_text_color = Colors.black;
const Main_appbar_color = Colors.white54;

class DIcon {
  Icon icon;
  String label;
  String route;

  DIcon(this.icon, this.label, this.route);
}

class ListItem {
  Icon icon;
  String name;
  String routerLeft;

  ListItem(this.icon, this.name, this.routerLeft);
}

class ListGroup {
  List<ListItem> childrens;

  ListGroup(this.childrens);
}

final List<ListGroup> meListGroups = [
  ListGroup([ListItem(Icon(Icons.message_sharp), "支付", "/pay")]),
  ListGroup([
    ListItem(Icon(Icons.icecream), "收藏", "/pay2"),
    ListItem(Icon(Icons.picture_in_picture), "相册", "/pay2"),
    ListItem(Icon(Icons.payment), "卡包", "/pay2"),
    ListItem(Icon(Icons.emoji_emotions), "表情", "/pay2")
  ]),
  ListGroup([ListItem(Icon(Icons.settings), "设置", "/pay2")])
];

final List<ListGroup> newListGroups = [
  ListGroup([ListItem(Icon(Icons.mobile_friendly_rounded), "朋友圈", "/pay")]),
  ListGroup([ListItem(Icon(Icons.audiotrack_rounded), "视频号", "/pay")]),
  ListGroup([
    ListItem(Icon(Icons.scanner_outlined), "扫一扫", "/pay2"),
    ListItem(Icon(Icons.share_outlined), "摇一摇", "/pay2")
  ]),
  ListGroup([
    ListItem(Icon(Icons.looks_3_outlined), "看一看", "/pay2"),
    ListItem(Icon(Icons.search_outlined), "搜一搜", "/pay2")
  ]),
  ListGroup([ListItem(Icon(Icons.near_me_outlined), "附近的人", "/pay2")]),
  ListGroup([
    ListItem(Icon(Icons.shopping_bag_rounded), "购物", "/pay2"),
    ListItem(Icon(Icons.games_outlined), "游戏", "/pay2")
  ]),
  ListGroup([ListItem(Icon(Icons.pan_tool_outlined), "小程序", "/pay2")]),
];
